package com.itheima.service;

import com.itheima.pojo.User;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;

public interface UserService {
    public User findByUsername(String username);

    PageResult findPage(QueryPageBean queryPageBean);

    void addUser(User user, Integer[] roleIds);

    void addUserRoles(Integer[] roleIds,User user);

    void delete(Integer userId);

    User findById(Integer userId);
}
